package com.education.platform.management.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
* describe: 角色菜单关联表
* @author : tomato
* @date: 2020-06-29 10:28:08.379
**/
@ApiModel()
@Getter
@Setter
@ToString
public class SysRoleMenuUpdateVO {
    /**
     * 角色
     */
    @ApiModelProperty("角色")
    @NotNull(message = "角色不能为空")
    private Integer roleId;
    /**
     * 权限
     */
    @ApiModelProperty("菜单id集合")
    @NotEmpty(message = "菜单不能为空")
    private List<Integer> menuIds;
}
